package cn.edu.nuc.ssm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.nuc.ssm.domain.PlanFilm;

public interface PlanFilmMapper {
    //删除
	int deleteByPrimaryKey(Integer cfId);
    //增加
    int insert(PlanFilm record);
    //有选择增加
    int insertSelective(PlanFilm record);
    //查询
    PlanFilm selectByPrimaryKey(Integer cfId);
    //有选择更新
    int updateByPrimaryKeySelective(PlanFilm record);
    //更新
    int updateByPrimaryKey(PlanFilm record);
    //总记录数
	int count(@Param("planfilmname") String planfilmname);
    //分页显示
	List<PlanFilm> selectType(@Param("planfilmname") String planfilmname,@Param("start") int start,@Param("end") int end);
}